package com.woniuxy.tmsdriverassignment.mapper;

import com.woniuxy.tmsdriverassignment.domain.wDriver;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Interface
 * <P> TODO:
 * <P> Date: 2022/4/20:15:59
 * <P> Description:
 */
public interface DriverMapper {

   int updateWaybill(int waybill_id);

   int addDriver(@Param("waybill_id") int waybill_id,@Param("driver_id") int driver_id);


    List<wDriver> getall(wDriver wDriver);

//    int updateOrder(wDriver wDriver);

    int delete(int wDriver);

    void updateWaybill1(int waybill_id);

    wDriver getOne(int id);

    int updateOrder(@Param("id") int id,@Param("waybill_id") int waybill_id,@Param("driver_id") int driver_id);
}
